import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const router=new VueRouter({
    routes:[
        {
            path:'/',
            component:()=>import('@/views/Product.vue')
        },
        {
            path:'/shopcart',
            component:()=>import('@/views/Shopcart.vue')
        },
        {
            path:'/collect',
            component:()=>import('@/views/Collect.vue')
        }
    ]
})
export default router